package com.zy.service;

import com.github.pagehelper.PageInfo;
import com.zy.entity.Position;

import java.util.List;

public interface PositionService {
    Position getById(Integer id);

    void save(Position position);

    void updateById(Position position);

    PageInfo<Position> page( Integer page, Integer limit);

    void delete(Integer id);

    void status(Integer id);

    List<Position> getByStaffId(Integer staffId);

    void setByStaffId(Integer staffId, List<Integer> roleIds);

    List<Position> all();
}
